﻿using CollegeReviewApp.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CollegeReviewApp.Web.IDataAdapters.Interfaces
{
    public interface ICollegeReviewAdapter
    {
        //College crud
        List<College> GetAllColleges();
        College GetCollege(int id);
        int AddCollege(College college);
        College UpdateCollege(College college);
        void DeleteCollege(int id);

        //review crud
        List<Review> GetAllReviews(int id);
        Review AddReview(Review review);
        Review UpdateReview(Review review);
        void DeleteReview(int id);
    }
}
